# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=resourcehacker
pkgver=5.1.8
pkgrel=1
pkgdesc='Resource compiler and decompiler for Windows® applications.'
groups=('blackarch' 'blackarch-windows' 'blackarch-reversing')
arch=('any')
url='http://www.angusj.com/resourcehacker/'
source=("$pkgname-$pkgver.zip::http://www.angusj.com/resourcehacker/resource_hacker.zip")
sha512sums=('bfb13c2b9a88634a9980b95e70a919de7139c49ab56903b86b88603c8ecfb7d0a0363a5c72657648622dd19b74c52b85fd59e2833de2e26fdf069774c88e8e57')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  cp -r --no-preserve=ownership * "$pkgdir/usr/share/windows/$pkgname/"
}

